<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>栅格布局基本用法2</title>
		<link rel="stylesheet" href="./Bootstrap4.6.1/css/bootstrap.css">
		<script src="./Bootstrap4.6.1/js/jquery.js"></script>
		<script src="./Bootstrap4.6.1/js/bootstrap.bundle.js"></script>
		<style>
			img{
				width: 10rem;/*相对于根元素*/
			}
		</style>
	</head>
	<body>
		
		<!-- 
		 
			在超大屏下一行6个，在大屏下，一行4个，在中屏下一行3个
		 -->
		
		
		
		
		<div class="container">
			<div class="row row-cols-2 no-gutters">
				<div class="col-lg-4 col-md-6 col-6">
					<img src="./img/pic03.jpg"  alt="" srcset="">
				</div>
				<div class="col-lg-4 col-md-6 col-sm-6">
					<img src="./img/pic04.jpg" alt="" srcset="">
				</div>
				<div class="col-lg-4 col-md-6 col-sm-6">
					<img src="./img/pic05.jpg" alt="" srcset="">
				</div>
				<div class="col-lg-4 col-md-6 col-6">
					<img src="./img/pic06.jpg" alt="" srcset="">
				</div>
				<div class="col-lg-4 col-md-6 col-6">
					<img src="./img/pic07.jpg" alt="" srcset="">
				</div>
				<div class="col-lg-4 col-md-6 col-6">
					<img src="./img/pic08.jpg" alt="" srcset="">
				</div>
			</div>
		</div>
	</body>
</html>